package xginxcron

import (
	"gitee.com/xiaoyutab/xgotool/optional/xcron"
	"gitee.com/xiaoyutab/xgotool/xgin"
	"github.com/gin-gonic/gin"
)

// 获取轮询任务的状态信息
//
//	GET	/status
func status(c *gin.Context) *xgin.Response {
	st := xcron.Status()
	return xgin.Resp().SuccessAny(st)
}
